<template>
  <el-form-item :label="i18nt('designer.setting.format')">
    <el-select v-model="optionModel.format" filterable allow-create>
      <el-option label="yyyy-MM-dd" value="yyyy-MM-dd" />
      <el-option label="yyyy/MM/dd" value="yyyy/MM/dd" />
      <el-option label="yyyy年MM月dd日" value="yyyy年MM月dd日" />
      <el-option label="yyyy-MM-dd HH:mm:ss" value="yyyy-MM-dd HH:mm:ss" />
      <el-option label="yyyy-MM-dd hh:mm:ss" value="yyyy-MM-dd hh:mm:ss" />
    </el-select>
  </el-form-item>
</template>

<script>
import i18n from "Yan/utils/i18n";

export default {
  name: "date-range-format-editor",
  mixins: [i18n],
  props: {
    designer: Object,
    optionModel: Object,
  },
};
</script>

<style scoped>
</style>
